package com.dmx.platform.action;

import com.dmx.fw.constant.ViewConstant;
import com.dmx.fw.web.struts2.action.CommonQueryAction;

/**
 *@author: Beni Yang
 *@date:2012-8-19
 *@function:
 */
@SuppressWarnings("serial")
public class HistoryOrderAction extends CommonQueryAction {

	private static final String BATCH_DELETE = "batchDelete";

	private String[] ids;
	private String id;
	private String q_orderNum;
	private String q_timeSegment;
	private String q_startDate;
	private String q_endDate;
	private String q_dstatus;

	// actions begin

	public String execute() throws Exception {
		super.busiId = "searchHistoryOrder";
		if (ViewConstant.QUERY.equals(super.act)) {
			doQuery();
		} else if (ViewConstant.REQUERY.equals(super.act)) {
			doReQuery();
		} else {
			super.execute();
		}
		return SUCCESS;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getQ_startDate() {
		return q_startDate;
	}

	public void setQ_startDate(String qStartDate) {
		q_startDate = qStartDate;
	}

	public String getQ_endDate() {
		return q_endDate;
	}

	public void setQ_endDate(String qEndDate) {
		q_endDate = qEndDate;
	}

	public String getQ_dstatus() {
		return q_dstatus;
	}

	public void setQ_dstatus(String qDstatus) {
		q_dstatus = qDstatus;
	}

	public String getQ_timeSegment() {
		return q_timeSegment;
	}

	public void setQ_timeSegment(String qTimeSegment) {
		q_timeSegment = qTimeSegment;
	}

	public String getQ_orderNum() {
		return q_orderNum;
	}

	public void setQ_orderNum(String qOrderNum) {
		q_orderNum = qOrderNum;
	}

}